#pragma once

#include "CtlEdit.h"
#include "CtlTagEdit.h"
#include "CtlButton.h"

using namespace bdc::ctl;

#define WND_RCD_SAVE_BN_ID 1

// RecordWnd

namespace bdc{
	
	namespace wnd{

		class WRecordWnd : public CWnd
		{
			DECLARE_DYNAMIC(WRecordWnd)

		private: 
			CtlEdit memEdit;
			CtlEdit desEdit;
			CtlTagEdit tagEdit; 
			CtlButton saveButton;

		private:
			Gdiplus::Image* pImgMemo;
			Gdiplus::Image* pImgDesc;
			Gdiplus::Image* pImgTag;
			Gdiplus::Image* pImgBtn;

		public:
			WRecordWnd();
			virtual ~WRecordWnd();

		protected:
			DECLARE_MESSAGE_MAP()
		protected:
			afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
			afx_msg void OnPaint();
			afx_msg void OnSaveClicked();
		};
	}
}


